package top.hiai.model.base;

import java.util.Date;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;
/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top,开发者：黄康权
* @Introduction 类的介绍
*/

@SuppressWarnings("serial")
public abstract class UserBase<M extends UserBase<M>> extends Model<M> implements IBean {

	public M setUid(java.lang.Integer uid) {
		set("uid", uid);
		return (M)this;
	}
	
	public java.lang.Integer getUid() {
		return getInt("uid");
	}
	
	public M setImageCode(java.lang.String image_name) {
		set("image_name", image_name);
		return (M)this;
	}
	
	public java.lang.String getImageCode() {
		return getStr("image_name");
	}
	
	public M setRoleName(java.lang.String role_name) {
		set("role_name", role_name);
		return (M)this;
	}
	
	public java.lang.String getRoleName() {
		return getStr("role_name");
	}
	
	public M setPassword(java.lang.String password) {
		set("password", password);
		return (M)this;
	}
	
	public java.lang.String getPassword() {
		return getStr("password");
	}
	
	public M setRegisterDate(Date register_date) {
		set("register_date", register_date);
		return (M)this;
	}
	
	public Date getRegisterDate() {
		return getDate("register_date");
	}
	
	public M setSex(java.lang.String sex) {
		set("sex", sex);
		return (M)this;
	}
	
	public java.lang.String getSex() {
		return getStr("sex");
	}
	
	public M setSign(java.lang.String sign) {
		set("sign", sign);
		return (M)this;
	}
	
	public java.lang.String getSign() {
		return getStr("sign");
	}
	
	@SuppressWarnings("unchecked")
	public M setIs_vip(java.lang.Boolean is_vip) {
		set("is_vip", is_vip);
		return (M)this;
	}
	
	public java.lang.Boolean getIs_vip() {
		return get("is_vip");
	}
	
	@SuppressWarnings("unchecked")
	public M setIs_off(java.lang.Boolean is_off) {
		set("is_off", is_off);
		return (M)this;
	}
	
	public java.lang.Boolean getIs_off() {
		return get("is_off");
	}
	
}

